package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipPartBorrowDemand;
import cc.comac.mom.bean.EquipPartBorrowDetailBean;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipPartBorrowDemandService {
	@RequestMapping(value = "/p/cs/EquipPartBorrowDemandService/selectBysomeFields",method = RequestMethod.POST)
	public ResultBean selectBysomeFields(@RequestBody EquipPartBorrowDemand equipPartBorrowDemand);
	@RequestMapping(value = "/p/cs/EquipPartBorrowDemandService/selectSpareWarehouseStock",method = RequestMethod.POST)
	public ResultBean selectSpareWarehouseStock(@RequestBody EquipPartBorrowDetailBean equipPartBorrowDetailBean);
}
